package io.renren.modules.otherReport.service.impl;

import io.renren.modules.otherReport.model.OtherFinanceAuditExcelBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.otherReport.dao.OtherInfoDao;
import io.renren.modules.otherReport.entity.OtherInfoEntity;
import io.renren.modules.otherReport.service.OtherInfoService;



@Service("otherInfoService")
public class OtherInfoServiceImpl implements OtherInfoService {
	@Autowired
	private OtherInfoDao otherInfoDao;
	
	@Override
	public OtherInfoEntity queryObject(String id){
		return otherInfoDao.queryObject(id);
	}
	
	@Override
	public List<OtherInfoEntity> queryList(Map<String, Object> map){
		return otherInfoDao.queryList(map);
	}

	@Override
	public List<OtherInfoEntity> queryListReportFinanceAuditInfo(Map<String, Object> map) {
		return otherInfoDao.queryListReportFinanceAuditInfo(map);
	}

	@Override
	public List<OtherFinanceAuditExcelBean> listReportFinanceAuditExcel(Map<String, Object> map) {
		return otherInfoDao.listReportFinanceAuditExcel(map);
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return otherInfoDao.queryTotal(map);
	}

	@Override
	public int queryTotalReportFinanceAuditInfoNum(Map<String, Object> map) {
		return otherInfoDao.queryTotalReportFinanceAuditInfoNum(map);
	}
	
	@Override
	public void save(OtherInfoEntity otherInfo){
		otherInfoDao.save(otherInfo);
	}
	
	@Override
	public void update(OtherInfoEntity otherInfo){
		otherInfoDao.update(otherInfo);
	}
	
	@Override
	public void delete(String id){
		otherInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		otherInfoDao.deleteBatch(ids);
	}
	
}
